Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Pass ServiceCIDR to controller-manager #797

Conversation

redbaron
Copy link
Contributor

@redbaron redbaron commented Dec 6, 2017

In theory PodCIDR and ServiceCIDR can overlap, letting controller-manager
know service cidr allows it to behave correctly in that case

In theory PodCIDR and ServiceCIDR can overlap, letting controller-manager
know service cidr allows it to behave correctly in that case
@coreosbot
Copy link

Can one of the admins verify this patch?

2 similar comments
@coreosbot
Copy link

Can one of the admins verify this patch?

@coreosbot
Copy link

Can one of the admins verify this patch?

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Dec 6, 2017
@coreosbot
Copy link

Can one of the admins verify this patch?

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 6, 2017
@ericchiang
Copy link
Contributor

In theory PodCIDR and ServiceCIDR can overlap

Do people actually do this? Are there any other benefits from passing this flag or is it just to make this case work?

@dghubble
Copy link
Contributor

dghubble commented Dec 11, 2017

behave correctly

How is that defined? Overlapping ranges will surely produce collisions, is the controller trusted to detect and use only the non-overlapping parts of the range?

@redbaron
Copy link
Contributor Author

@redbaron
Copy link
Contributor Author

Do people actually do this? Are there any other benefits from passing this flag or is it just to make this case work?

I don't know if people do it or not, but AFAIK it is supported configuration and there is no harm passing extra flag.

@dghubble
Copy link
Contributor

coreosbot run e2e

@dghubble dghubble self-requested a review December 12, 2017 00:35
@dghubble dghubble merged commit 0cd47bc into kubernetes-retired:master Dec 12, 2017
@redbaron redbaron deleted the controller-manager-service-ip-range branch December 12, 2017 07:17
dghubble added a commit to poseidon/terraform-render-bootstrap that referenced this pull request Dec 12, 2017
* controller-manager can handle overlapping pod and service CIDRs
to avoid address collisions, if its informed of both ranges
* Still favor non-overlapping pod and service ranges of course
* kubernetes-retired/bootkube#797
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants